﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SoonCode.FocusTest.Models
{
    public class TestInfo
    {
        public string check_type { get; set; } = "0";
        public string orgId { get; set; }
        public string teacher { get; set; }
        public string memberId { get; set; }
        public string member_no { get; set; }
        public string name { get; set; }
        public string sex { get; set; }
        public string age { get; set; }
        public string pid { get; set; }
        public TestData[] data { get; set; } = new TestData[9];

        public TestInfo()
        {
            for (int i = 0; i < 9; i++)
            {
                data[i] = new TestData(){item_no = (i+1)+"",item_score = "-1"};
            }
        }
    }

    public class TestData
    {
        public string item_no { get; set; }
        public string item_score { get; set; }
    }
}
